/*
   Copyright (C) 2005-2008 by the FIFE team
   Adapted as C library 2009 Klaus Blindert <klaus.blindert@web.de>

   Originally part of the FIFE Project http://www.fifengine.de
   Part of the libABF project.

   libABF is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.

   This library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with this library; if not, write to the
   Free Software Foundation, Inc.,
   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*/
#ifndef ABF_TYPES_H
#define ABF_TYPES_H

#if defined( WIN32 ) && defined( _MSC_VER )
#ifndef _SDL_H
typedef signed __int8   int8_t;
typedef unsigned __int8   uint8_t;
typedef signed __int16    int16_t;
typedef unsigned __int16  uint16_t;
typedef signed __int32    int32_t;
typedef unsigned __int32  uint32_t;
typedef signed __int64    int64_t;
typedef unsigned __int64  uint64_t;
#endif
#else
#include <stdint.h>
#endif

typedef int8_t s_int8;
typedef int16_t s_int16;
typedef int32_t s_int32;
typedef uint8_t u_int8;
typedef uint16_t u_int16;
typedef uint32_t u_int32;

#endif // ABF_TYPES_H
